import React from 'react';
import Tab from '../../../TabChange';
import './index.scss';

const tab = [
  {
    label: '监管动态',
    route: '/system/corule/exhibition/daily',
    level: 4
  },
  {
    label: '科普宣传',
    route: '/system/corule/exhibition/video',
    level: 4
  },
  {
    label: 'VR虚拟现实',
    route: '/system/corule/exhibition/vr',
    level: 4
  }];
class Exhibition extends React.PureComponent {
  render() {
    return (
      <div className="shi_an_exhibition">
        <Tab
          configTab={tab}
        />
        <div className="exhibiton-children">
          { this.props.children }
        </div>
      </div>
    );
  }
}

export default Exhibition;
